<?php if (!Controller_Helper_Url::is_mobile()) { ?>
    <header>
        <a href="#" class="logo">
            <img src="<?= $url_base_theme ?>/img/LOGO_COFICO.png" style="width: 20%;" alt="logo" />
        </a>
        <div class="btn-group">
            <button class="btn btn-primary">
                Admin
            </button>
            <button data-toggle="dropdown" class="btn btn-primary dropdown-toggle">
                <span class="caret">
                </span>
            </button>
            <ul class="dropdown-menu pull-right">
                <li>
                    <a href="#">
                        Edit Profile
                    </a>
                </li>
                <li>
                    <a href="#">
                        Account Settings
                    </a>
                </li>
                <li>
                    <a href="#">
                        Logout
                    </a>
                </li>
            </ul>
        </div>
        <ul class="mini-nav">
                <li>
                    <a href="#">
                        <div class="fs1" aria-hidden="true" data-icon="&#xe00d;"></div>
                        <span class="info-label badge badge-warning">
                            3
                        </span>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <div class="fs1" aria-hidden="true" data-icon="&#xe052;"></div>
                        <span class="info-label badge badge-warning">
                            3
                        </span>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <div class="fs1" aria-hidden="true" data-icon="&#xe040;"></div>
                        <span class="info-label badge badge-warning">
                            3
                        </span>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <div class="fs1" aria-hidden="true" data-icon="&#xe04c;"></div>
                        <span class="info-label badge badge-info">
                            5
                        </span>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <div class="fs1" aria-hidden="true" data-icon="&#xe0aa;"></div>
                        <span class="info-label badge badge-info">
                            30
                        </span>
                    </a>
                </li>
                <li>
                    <a href="#">
                         <span class="fs1" aria-hidden="true" data-icon="&#xe010;"></span>
                        <span class="info-label badge badge-info">
                            30
                        </span>
                    </a>
                </li>
            </ul>
</header>
    <?php } else { ?>
        <style>
            .dashboard-container{
                margin-top:0px;
            }
        </style>
    <?php } ?>


<div class="container-fluid">
    <div class="dashboard-container">
        <?php echo View::factory('../template/' . $template . '/header')->render(); ?>
        <?= $content ?>
        <?php echo View::factory('../template/' . $template . '/footer')->render(); ?>
    </div>
</div>
